package com.xhlj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName like
 */
@TableName(value ="like")
@Data
public class Like implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer likeId;

    /**
     * 
     */
    private Integer userId;

    /**
     * 点赞的帖子
     */
    private Integer postId;

    /**
     * 点赞的评论
     */
    private Integer commentId;

    /**
     * 点赞时间
     */
    private Date likeTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}